package io.chenglicun.modules.clc.service;

import io.chenglicun.common.service.CrudService;
import io.chenglicun.modules.clc.dto.ClcQuestionDTO;
import io.chenglicun.modules.clc.entity.ClcQuestionEntity;

import java.util.List;

/**
 * 题目管理
 *
 * @author HB 137664951@qq.com
 * @since 1.0 2023-10-18
 */
public interface ClcQuestionService extends CrudService<ClcQuestionEntity, ClcQuestionDTO> {

    ClcQuestionDTO get(Long id);

    void save(ClcQuestionDTO dto);

    void update(ClcQuestionDTO dto);

    void delete(Long[] ids);

    List<ClcQuestionDTO> getByIds(List<Long> ids);

    List<ClcQuestionDTO> getByBankIds(Long... bankIds);
}